{% extends 'layout.html' %}

{% block content %}
    <div class="container">
        <h3>发布任务的操作</h3>
        <form method="post" novalidate>
           {% csrf_token %}
            {% for item in form %}
              <div class="form-group">
                <label >{{ item.label }}</label>
                {{ item }}
                <small class="form-text text-muted">{{ item.help_text }}{{ item.errors.0 }}</small>
              </div>
            {% endfor %}
          <button type="submit" class="btn btn-primary">Submit</button>
        </form>
    </div>
{% endblock %}